package vn.personal.anhht.bloback12.block;

import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.util.Log;

public class TestAlarm2 extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.e("On Boot Block", "4444444444444444");
        ComponentName component1 = new ComponentName(
                context, BlockIncomingCall.class);
        context.getPackageManager().setComponentEnabledSetting(component1,
                PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
                PackageManager.DONT_KILL_APP);
    }

}
